package com.common.singleton;

/**
 * 单例静态内部类实现--可以使用
 * <p>
 * Created by Administrator on 2018-9-13 0013.
 */
public class SingleTonForStaticClass {

    private static class SingleHelper {
        private static final SingleTonForStaticClass INSTANCE = new SingleTonForStaticClass();
    }

    private SingleTonForStaticClass() {}

    public static final SingleTonForStaticClass getInstance() {
        return SingleHelper.INSTANCE;
    }
}
